package com.yc.consumer;

import com.yc.rpc.core.annotation.EnableYcRpc;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication(scanBasePackages = "com.yc")
@EnableYcRpc(basePackages = "com.yc.producer.contract")
public class ConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerApplication.class, args);
    }

}
